package cn.jyc.ssm03.dao;

import cn.jyc.ssm03.pojo.Customer;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CustomerMapper {
    public List<Customer> getCus(Customer cus);
    @Insert("insert into bus_customers value(#{identity},#{custname},#{sex},#{address},#{phone},#{career})")
    public void add(Customer cus);
    @Delete("delete from bus_customers where identity=#{identity}")
    public void del(String identity);
    public void updCust(Customer cus);
}
